package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author lvFF
 * @Date 2022/04/26/下午 8:41;
 * Description
 */
public interface DishService extends IService<Dish> {
    void saveFlaver(DishDto dishDto);
    void removeByIds(Long[] ids);
    void getByIdS(Integer s,Long[] ids);
    DishDto getByIdDishFlavor(Long id);
    Page<DishDto> pageWith(Integer page, Integer pageSize, String name);
}
